﻿namespace INCerry.IOC
{
    using System;
    /// <summary>
    /// 创建对象的方式
    /// </summary>
    public enum CreateObjectMode
    {
        /// <summary>
        /// 每次都重新构建
        /// </summary>
        Transient = 1,

        /// <summary>
        /// 单例类似，还未实现该方式
        /// </summary>
        [Obsolete]
        Scoped = 2,

        /// <summary>
        /// 单例构建
        /// </summary>
        Singleton = 4,
    }
}